package com.wu.company.entity;

import javax.persistence.*;

/**
 * POJO类Utiusergradetask
 */
@Entity
@Table(name = "UTIUSERGRADETASK")
public class Utiusergradetask implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	/** 属性ID */
	private UtiusergradetaskId id;

	/** 属性grantlevel */

	private String grantlevel;
	/** 属性grantvalue */
	private String grantvalue;

	/** 属性保险价值 */
	private String value;

	/** 属性备注 */
	private String remark;

	/** 属性标志 */
	private String flag;
	 // 属性岗位权限值
    private String gradeValue = "";
    // 功能名称
    private String taskName = "";
    // 功能代码的上级功能代码
    private String taskParentCode = "";
	/**
	 * 类Utiusergradetask的默认构造方法
	 */
	public Utiusergradetask() {
	}

	/**
	 * 属性ID的getter方法
	 */
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "comCode", column = @Column(name = "COMCODE")),
			@AttributeOverride(name = "userCode", column = @Column(name = "USERCODE")),
			@AttributeOverride(name = "gradeCode", column = @Column(name = "GRADECODE")),
			@AttributeOverride(name = "taskCode", column = @Column(name = "TASKCODE")) })
	public UtiusergradetaskId getId() {
		return this.id;
	}

	/**
	 * 属性ID的setter方法
	 */
	public void setId(UtiusergradetaskId id) {
		this.id = id;
	}

	/**
	 * 属性grantlevel的getter方法
	 */

	@Column(name = "GRANTLEVEL")
	public String getGrantlevel() {
		return this.grantlevel;
	}

	/**
	 * 属性grantlevel的setter方法
	 */
	public void setGrantlevel(String grantlevel) {
		this.grantlevel = grantlevel;
	}

	/**
	 * 属性grantvalue的getter方法
	 */

	@Column(name = "GRANTVALUE")
	public String getGrantvalue() {
		return this.grantvalue;
	}

	/**
	 * 属性grantvalue的setter方法
	 */
	public void setGrantvalue(String grantvalue) {
		this.grantvalue = grantvalue;
	}

	/**
	 * 属性保险价值的getter方法
	 */

	@Column(name = "VALUE")
	public String getValue() {
		return this.value;
	}

	/**
	 * 属性保险价值的setter方法
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * 属性备注的getter方法
	 */

	@Column(name = "REMARK")
	public String getRemark() {
		return this.remark;
	}

	/**
	 * 属性备注的setter方法
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 属性标志的getter方法
	 */

	@Column(name = "FLAG")
	public String getFlag() {
		return this.flag;
	}

	/**
	 * 属性标志的setter方法
	 */
	public void setFlag(String flag) {
		this.flag = flag;
	}
	@Transient
	public String getGradeValue() {
		return gradeValue;
	}

	public void setGradeValue(String gradeValue) {
		this.gradeValue = gradeValue;
	}
	@Transient
	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	@Transient
	public String getTaskParentCode() {
		return taskParentCode;
	}

	public void setTaskParentCode(String taskParentCode) {
		this.taskParentCode = taskParentCode;
	}

}
